using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Master
{
   
    public class InvolvedPartyType 
    {
        #region Properties
        // INVOLVED_PARTY_TYPE_ID
        public virtual int InvolvedPartyTypeId { set; get; }
        // INVOLVED_PARTY_TYPE_CODE
        public virtual String InvolvedPartyTypeCode { set; get; }
        // INVOLVED_PARTY_TYPE_NAME
        public virtual String InvolvedPartyTypeName { set; get; }
        // INVOLVED_PARTY_TYPE_DESC
        public virtual String InvolvedPartyTypeDesc { set; get; }
        // CREATE_USER_ID
        public virtual String CreateUserId { set; get; }
        // CREATE_TS
        public virtual DateTime? CreateTs { set; get; }
        public virtual String InvolvedPartyTypeReference { get; set; }
        #endregion
        

        public override bool Equals(object obj)
        {
            if(obj == null)
                return false;
            if(obj.GetType() != typeof(InvolvedPartyType) && !(obj is InvolvedPartyType))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}", InvolvedPartyTypeId);
        }


       
    }

   
   
}